/** * All tests are stashed away in teapo.tests module. * Teapo is an application, not a library, so all the tests are tests of the application pieces and parts. */module teapo.tests {
export function sampleTest() {
return; // ok!
}
export function sampleAsyncTest(callback: (error: Error) => void) {
callback(null);
}
/* uncomment to see how failing tests presented in UIexport function sampleFailingTest() {
throw new Error('Failing on purpose, synchronously.'); }export function sampleAsyncFailingTest(callback: (error: Error) => void) {
callback(new Error('Failing on purpose, asynchronously.')); } */}